<%@ page import="model.Student" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Author: LZN
  Date: 2023/3/13 0013 22:11
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<table align="center" width="50%" border="1">
    <tr>
        <th width="10%">学生学号</th>
        <th width="20%">学生姓名</th>
        <th width="10%">性别</th>
        <th width="10%">年龄</th>
        <th width="10%">班级</th>
        <th width="10%">出生日期</th>
        <th width="10%">电话</th>
        <th width="10%">学院</th>
        <th width="10%">专业</th>
        <th width="30%">地址</th>
        <th width="30%">更新操作</th>
        <th width="30%">删除操作</th>
    </tr>
    <c:forEach var="item" items="${student}">
        <tr>
            <td>${item.studentNo}</td>
            <td>${item.name}</td>
            <td>${item.sex}</td>
            <td>${item.age}</td>
            <td>${item.banji}</td>
            <td>${item.bornDate}</td>
            <td>${item.phone}</td>
            <td>${item.faculty}</td>
            <td>${item.major}</td>
            <td>${item.address}</td>
        </tr>
    </c:forEach>
</table>
<center>
    <div class="providerAddBtn">
        <input type="submit" value="保存"/>
        <input type="button" value="返回" onclick="history.back(-1)"/>
    </div>
</center>
</body>
</html>
